package com.glqiang.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.glqiang.domain.entity.Permission;

import java.util.List;

/**
 * (Permission)表服务接口
 *
 * @author glqiang
 * @since 2022-11-21 23:36:15
 */
public interface PermissionService extends IService<Permission> {

    /**
     * 通过用户id获取权限信息
     *
     * @param id 用户id
     * @return 权限信息
     */
    List<String> listPermissionByUserId(Long id);
}

